<if_dir> : If Directory (Folder) ...

Directory (folder) - related condition.

Syntax: 

<if_dir>("Directory", "Condition", "Reserved")

Directory
Full path to the directory to check against the Condition.

Condition
Condition can be one from  the following:
"EXIST" - the <if_dir> statement is true if the directory exist.
"NOTEXIST" - the <if_dir> statement is true if the directory does not exist.

Reserved
Must be empty string.

Example: 

<#> This macro shows how to use if-dir condition
<#>
<cmds>
<if_dir>("c:\windows","EXIST","")
   <msg>(100,100,"'c:\windows' exist.","Message",1)
<else>
   <msg>(100,100,"'c:\windows' NOT exist.","Message",1)
<endif>